#ifndef SHOGICMD_H_INCLUDED
#define SHOGICMD_H_INCLUDED

#include "shogierror.h"

class ShogiCmd
{

public:
	ShogiCmd();

	bool parse(QByteArray* pCommand);

	QString getCommand() const;
	QString getValue() const;
	QString getCommandAndValue() const;
	

	void setCommandAndValue(QString command, QString value);
	
	ShogiError m_error;

private:
	QString m_command;
	QString m_value;
};

#endif

